30 VTAB 23: PRINT "PRESS RETURN TO CONTINUE.";: GET A$: RETURN
40 TEXT : HOME
50 REM : INTRODUCTORY "TELETYPER" ROUTINE FROM "TIP DISK #1" BY BEAGLE BROTHERS.
60 CURSR$ = "+>": SPEED= 210
70 FOR I = 1 TO LEN(CURSR$):CURSR$ = CURSR$ + CHR$(8): NEXT
80 HOME : GOSUB 140
90 A$ = "TO: FOLKS WANTING APPLESOFT TEXT EDITING FROM: ATLANTA CODE TOAD SUBJECT: APPLESOFT TEXT EDITING INFO ": GOSUB 110
100 PRINT : GOSUB 140: SPEED= 255: GOTO 150
110 FOR I = 1 TO LEN(A$): INVERSE : PRINT CURSR$;: NORMAL :M$ = MID$ (A$,I,1): PRINT M$;: IF M$ = " " OR M$ = "." THEN FOR J = 1 TO 25 +150 *(M$ = "."): NEXT
120 IF M$ < >" " THEN FOR J = 1 TO 2:S = PEEK( -16336): NEXT
130 NEXT : CALL -868: PRINT : RETURN
140 A$ = "": FOR I = 1 TO 40:A$ = A$ +"-": NEXT : GOSUB 110: RETURN
150 PRINT " MOST WORD PROCESSORS CAN BE USED TO AID YOUR PROGRAMMING. FIRST YOU CAN USE THE FEATURES OF THE WORD PROCESSOR LIKE STRING SEARCH AND REPLACE AND THE EASY LINE MANIPULATION. SECOND TO CREATE NEW"
160 PRINT "PROGRAMS. A KNOWLEDGE OF TEXT FILES AND BASIC FILES IS NEEDED TO UNDERSTAND HOW THIS PROCESS WORKS. A SHORT PROGRAM IS INCLUDED HERE FOR FILES THAT ARE CURR- ENTLY BASIC PROGRAMS. THIS PROGRAM USES"
170 GOSUB 30: HOME
180 PRINT : PRINT "THE EXEC FEATURE OF THE APPLE TO CREATE A ROUTINE THAT CONVERTS THE BASIC PROGRAM TO TEXT SO THAT THE TEXT EDITOR CAN READ IT. THIS PTOGRAM APPENDS THREE LINES"
190 PRINT "TO THE BEGINNING OF YOUR PROGRAM. THE LINE NUMBERS ARE 0,1, AND 2. IF YOU ALREADY HAVE LINES IN YOUR PROGRAM THAT USE THOSE NUMBERS YOU MUST INCREASE THE LINE "
200 PRINT "NUMBERS TO 3 OR ABOVE. FIRST TYPE IN AND RUN THE PROGRAM (OR JUST EXEC THE TCONROUTINE INCLUDED); IT WILL CREATE THE TCON PROGRAM WHICH WILL CONVERT BASIC TO TEXT. NEXT LOAD IN THE BASIC PROGRAM AND"
210 PRINT "TYPE IN 'EXEC TCON'; THE DISK WILL START SPINNING AND YOUR PROGRAM WILL BE CONVERTED. WHEN THE PROGRAM HAS BEEN CONVERTED, YOU CAN BOOT YOUR WORD PROCESSOR AND USE ITS FEATURES TO DEBUG YOUR PROGRAM."
220 PRINT "THE TEXT FILE NAME OF YOUR PROGRAM WILL BE 'FILE'.
230 GOSUB 30: HOME
240 PRINT : PRINT " AFTER YOU FINISH DEBUGGING/CODING YOUR PROGRAM ALL YOU NEED TO DO IS SAVE THE FILE. THE NEXT STEP INVOLVES CONVERTING YOUR FILE TO A BASIC PROGRAM AGAIN. THISSOUNDS HARD BUT IS ACTUALLY QUITE SIMPLE "
250 PRINT " AFTER DOS IS BOOTED YOU NEED TO TYPE 'NEW';THEN TYPE EXEC FOLLOWED BY THE FILE NAME. THAT'S ALL - A MINUTE OR TWO LATER AFTER YOU HAVE SEEN MANY PROMPT MARKS, YOUR FILE WILL BE CONVERTED TO A BASIC"
260 PRINT "PROGRAM. IF YOU ARE THROUGH YOU CAN DELETE THE TEXT FILE AND SAVE THE APPLESOFT PROGRAM WHICH IS NOW IN THE COMPUTER."
270 PRINT : PRINT " THE PROGRAM IS LISTED ON THE NEXT PAGE. NOTE THAT A SINGLE QUOTE MARK HAS BEEN SUBSTITUTED FOR A DOUBLE QUOTE MARK. IF YOU TYPE IN THE PROGRAM USE DOUBLE QUOTES."
380 PRINT : PRINT "THE ORIGINAL IDEA CAME FROM 'COMPUTE MAGAZINE' IN AN ARTICLE BY MICHAEL GINSBERG. HOPE THIS IDEA WORKS FOR YOU.............THE CODE TOAD"
390 GOSUB 30: HOME
400 PRINT : PRINT : PRINT : PRINT : PRINT "IF SOFITE AND THE SOFT FOLKS HAVE ROOM ON THE DISK THE PROGRAM WILL BE LISTED AS TCON.PROG AND THE EXEC AS TCON.EXEC........THE CODE TOAD"